package com.panshi.vo;

/**
 * 状态码信息常量类
 * @author Administrator
 *
 */
public enum CodeMsgConstant 
{
	/**操作成功*/
	CODE_0("0","操作成功"),
	/**操作失败*/
	CODE_1("1","操作失败"),
	
	/**服务器内部错误*/
	CODE_500("500","服务器内部错误"),
	
	
	/**操作业务失败*/
	CODE_10000("10000","操作业务失败"),
	
	/**登录失败*/
	CODE_10100("10100","登录失败"),
	
	/**校验参数失败*/
	CODE_20000("20000","校验参数失败");
	
	String code;
	String msg;
	CodeMsgConstant(String code, String msg){
		this.code=code;
		this.msg=msg;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
